<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Sokoban2011:  Fichier source de /home/hady/sokoban2011/trunk/src/Objectif.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Généré par Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Recherche" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Liste&nbsp;des&nbsp;fichiers</span></a></li>
      <li><a href="globals.html"><span>Portée&nbsp;globale</span></a></li>
    </ul>
  </div>
<h1>/home/hady/sokoban2011/trunk/src/Objectif.h</h1><a href="_objectif_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef _OBJECTIF_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define _OBJECTIF_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &quot;<a class="code" href="_terrain_8h.html" title="Caisse brief description Description du Fichier Terrain&amp;lt; &amp;gt;">Terrain.h</a>&quot;</span>
<a name="l00005"></a>00005 
<a name="l00006"></a>00006 
<a name="l00020"></a>00020 <span class="keyword">typedef</span> <span class="keyword">enum</span> EtatObjectif{LIBRE_OBJECTIF, OCCUPE_OBJECTIF}EtatObjectif;
<a name="l00030"></a><a class="code" href="struct_s___objectif.html">00030</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_s___objectif.html">S_Objectif</a>
<a name="l00031"></a>00031 {
<a name="l00032"></a>00032         <span class="keywordtype">int</span> x;
<a name="l00033"></a>00033         <span class="keywordtype">int</span> y;
<a name="l00034"></a>00034         EtatObjectif etat_o;
<a name="l00035"></a>00035         <span class="keyword">struct </span><a class="code" href="struct_s___objectif.html">S_Objectif</a> *suivant;
<a name="l00036"></a>00036 }<a class="code" href="struct_s___objectif.html">Objectif</a>;
<a name="l00044"></a><a class="code" href="struct_s___liste_objectif.html">00044</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_s___liste_objectif.html">S_ListeObjectif</a>
<a name="l00045"></a>00045 {
<a name="l00046"></a>00046         <a class="code" href="struct_s___objectif.html">Objectif</a> *prem; 
<a name="l00047"></a>00047         <span class="keywordtype">int</span> nb_objectif;
<a name="l00048"></a>00048 }<a class="code" href="struct_s___liste_objectif.html">ListeObjectif</a>;
<a name="l00049"></a>00049 
<a name="l00057"></a>00057 <span class="keywordtype">void</span>  objInit(<a class="code" href="struct_s___liste_objectif.html">ListeObjectif</a> *, <span class="keyword">const</span> <a class="code" href="struct_terrain.html">Terrain</a>*);
<a name="l00058"></a>00058 
<a name="l00065"></a>00065 <span class="keywordtype">int</span> objGetX(<span class="keyword">const</span> <a class="code" href="struct_s___objectif.html">Objectif</a> *) ;
<a name="l00066"></a>00066 
<a name="l00073"></a>00073 <span class="keywordtype">int</span> objGetY(<span class="keyword">const</span> <a class="code" href="struct_s___objectif.html">Objectif</a> *) ;
<a name="l00074"></a>00074 
<a name="l00081"></a>00081 EtatObjectif objGetEtat(<span class="keyword">const</span> <a class="code" href="struct_s___objectif.html">Objectif</a> *) ;
<a name="l00082"></a>00082 
<a name="l00089"></a>00089 <a class="code" href="struct_s___objectif.html">Objectif</a> *objGetPrem(<span class="keyword">const</span> <a class="code" href="struct_s___liste_objectif.html">ListeObjectif</a> *);
<a name="l00090"></a>00090 
<a name="l00097"></a>00097 <a class="code" href="struct_s___objectif.html">Objectif</a> *objGetSuivant(<a class="code" href="struct_s___objectif.html">Objectif</a> *);
<a name="l00098"></a>00098 
<a name="l00106"></a>00106 <span class="keywordtype">int</span> objGetNbObjectif(<a class="code" href="struct_s___liste_objectif.html">ListeObjectif</a> * );
<a name="l00107"></a>00107 
<a name="l00113"></a>00113 <span class="keywordtype">void</span> objLibere(<a class="code" href="struct_s___liste_objectif.html">ListeObjectif</a> *);
<a name="l00114"></a>00114 
<a name="l00120"></a>00120 <span class="keywordtype">void</span> objTestRegression();
<a name="l00121"></a>00121 
<a name="l00122"></a>00122 <span class="preprocessor">#endif</span>
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Définition de type</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Généré le Tue Jun 7 02:52:12 2011 pour Sokoban2011 par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
